/*
 * Copyright (c) 2010 Philip Foulkes <philip.foulkes@gmail.com>
 *
 * This file is free software and is made available under the 
 * terms of the GNU General Public License, version 2, or at your
 * option, any later version
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _MMRP_PRIVATE_H__
#define _MMRP_PRIVATE_H__

#define MMRP_PRINT_INFO(fmt,args...) printk (KERN_INFO "MMRP: " fmt, ## args)

#ifdef MMRP_DEBUG
	#define MMRP_PRINT_DEBUG(fmt,args...) printk (KERN_DEBUG "MMRP Debug: " fmt, ## args)
#else
	#define MMRP_PRINT_DEBUG(fmt,args...)
#endif

#define MMRP_GET_CONTEXT_ALLOC_FLAG in_atomic () ? GFP_ATOMIC : GFP_KERNEL


#endif
